/**
 */
package DentalClinicEMF.clinic;

import java.util.Date;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Schedule</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link DentalClinicEMF.clinic.Schedule#getAppointments <em>Appointments</em>}</li>
 *   <li>{@link DentalClinicEMF.clinic.Schedule#getHasAppointments <em>Has Appointments</em>}</li>
 * </ul>
 * </p>
 *
 * @see DentalClinicEMF.clinic.ClinicPackage#getSchedule()
 * @model
 * @generated
 */
public interface Schedule extends EObject {
	/**
	 * Returns the value of the '<em><b>Appointments</b></em>' attribute list.
	 * The list contents are of type {@link java.util.HashMap}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Appointments</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Appointments</em>' attribute list.
	 * @see DentalClinicEMF.clinic.ClinicPackage#getSchedule_Appointments()
	 * @model dataType="DentalClinicEMF.clinic.HashMap"
	 * @generated
	 */
	EList getAppointments();

	/**
	 * Returns the value of the '<em><b>Has Appointments</b></em>' containment reference list.
	 * The list contents are of type {@link DentalClinicEMF.clinic.Appointment}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Has Appointments</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Has Appointments</em>' containment reference list.
	 * @see DentalClinicEMF.clinic.ClinicPackage#getSchedule_HasAppointments()
	 * @model type="DentalClinicEMF.clinic.Appointment" containment="true"
	 * @generated
	 */
	EList getHasAppointments();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean schedule(Appointment apt);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean cancel(Appointment apt);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean isFree(Date date, int startTime, int endTime);

} // Schedule
